package com.aistar.service;

import com.aistar.pojo.Cart;
import com.aistar.util.ServerResponse;

public interface CartService extends BaseService<Cart> {

    /*用户查看购物车*/
    public ServerResponse getAllByCustomerId(Integer cartId);

    //根据用户id查询购物车id
    public ServerResponse getCartIdByCustomerId(Integer customerId);

    //根据用户id查询购物车中商品的个数 服务于 是否能够添加商品到购物车
    public ServerResponse getCartProductCount(Integer customerId);


}
